package Zuoye;

import java.util.Arrays;

public class Zuoye5 {
    public static void main(String[] args) {
        String[] a={"1","7","9","11","13","17","19"};
        String[] b={"2","4","6","8","10"};
        String[] c=new String[a.length+b.length];
        int j=0;
        for (int i = 0; i < c.length; i++) {
            if(i<a.length){
                c[i]=a[i];
                System.out.print("\t"+c[i]);
            }else{
                c[i]=b[j];
                System.out.print("\t"+c[i]);
                j++;
            }
        }
        //数组a："1,7,9,11,13,15,17,19"，数组b："2,4,6,8,10"，两个数组合并为数组c。
    }
}
